import $http from "../http";

// 员工

// 获取员工列表
export const getStaffLists = (params) => $http.post("/getStaff", params);

// 获取员工详情
export const staffDetail = (id) => $http.get(`/staffDetail/${id}`);

// 新增员工
export const createStaff = (params) => $http.post("/createStaff", params);

// 修改员工信息
export const updateStaff = (params) => $http.put("/updateStaff", params);

// 删除员工信息
export const destroyStaff = (params) => $http.post("/destroyStaff", params);



